package com.example.springdemo.entity;


/**
 * banner对象 banner
 * 
 * @author ruoyi
 * @date 2025-03-27
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 图片 */

    private String bannerimg;

    /** 描述 */

    private String description;

    /** 跳转的路径 */

    private String topath;

    /** 是否显示 */

    private Long isshow;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBannerimg(String bannerimg) 
    {
        this.bannerimg = bannerimg;
    }

    public String getBannerimg() 
    {
        return bannerimg;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setTopath(String topath) 
    {
        this.topath = topath;
    }

    public String getTopath() 
    {
        return topath;
    }
    public void setIsshow(Long isshow) 
    {
        this.isshow = isshow;
    }

    public Long getIsshow() 
    {
        return isshow;
    }

//    @Override
//    public String toString() {
//        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
//            .append("id", getId())
//            .append("bannerimg", getBannerimg())
//            .append("description", getDescription())
//            .append("topath", getTopath())
//            .append("isshow", getIsshow())
//            .append("createBy", getCreateBy())
//            .append("createTime", getCreateTime())
//            .append("updateBy", getUpdateBy())
//            .append("updateTime", getUpdateTime())
//            .toString();
//    }
}
